#pragma once
#include "animation.hpp"
namespace rh
{
	class PositionAnimation :
		public rh::Animation<sf::Vector2f>
	{

	public:
		PositionAnimation(rh::ITransformable* target, sf::Vector2f startPosition, sf::Vector2f endPosition, sf::Time animationTime = sf::Time::Zero);
		~PositionAnimation(void);
		virtual void Start(void);
		virtual void Animate(const sf::Time& elapsedTime);
		virtual void CleanupAnimation(void);
	};
}